// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, deleteRequest, importRequest, getRequestWithNoToken } from '@/libs/axios';

// 获取TOP被授权商数据 多条件
export const getTopLicenseeList = (params) => {
    return getRequest('/topLicensee/getByCondition', params)
}

// 添加TOP被授权商
export const addTopLicensee = (params) => {
    return postRequest('/topLicensee/add', params)
}
// 编辑TOP被授权商
export const editTopLicensee = (params) => {
    return postRequest('/topLicensee/edit', params)
}

// 删除TOP被授权商
export const deleteTopLicensee = (ids, params) => {
    return deleteRequest(`/topLicensee/delByIds/${ids}`, params)
}
